<template>
	<view class="CommodityList">
		<CommodityVue :commodityData="commodityData"></CommodityVue>
	</view>
</template>

<script>
	import CommodityVue from './Commodity.vue';
	export default {
		components: {
			CommodityVue
		},
		data() {
			return {
				commodityData: [{
					id: 1,
					src: '../../static/img/commodity1.jpg',
					contentTitle: '需衣绒毛大款2024年必须买，爆款促销，手慢则无，快！快！快！',
					pprice: 299,
					oprice: 659,
					discount: 5.2
				}, {
					id: 2,
					src: '../../static/img/commodity2.jpg',
					contentTitle: '大衣绒毛大款2024年必须买，爆款促销，手慢则无，快！快！快！',
					pprice: 299,
					oprice: 659,
					discount: 5.2
				}, {
					id: 3,
					src: '../../static/img/commodity3.jpg',
					contentTitle: '大衣绒毛大款2024年必须买，爆款促销，手慢则无，快！快！快！',
					pprice: 299,
					oprice: 659,
					discount: 5.2
				}]
			}
		},
		onShow() {},
		methods: {

		}

	}
</script>

<style>
</style>